<?php

namespace DesignNew\Memento;

/**
 * 首先给出可以存储编辑器状态的备忘录对象
 */
class EditorMemento
{
    protected $content;

    public function __construct(string $content)
    {
        $this->content = $content;
    }

    public function getContent()
    {
        return $this->content;
    }
}